public class HelloSogou{
    public static synchronized void main(String[] a){
        System.out.println("0");

        Thread t=new Thread(){
            @Override
            public void run(){Sogou();}
        };
        System.out.println("1");
        t.run();
        System.out.println("2");
        System.out.println("3");
        System.out.print("Hello");
    }
    static synchronized void Sogou(){
        System.out.print("Sogou");
    }
}

